﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Novell.DirectoryServices.Linq
{
    /// <summary>
    /// Represents the context available for searching
    /// </summary>
    public class SearchOptions 
    {
        public SearchOptions(SearchOptions options)
        {
            SearchRoot = options.SearchRoot;
            Scope = options.Scope;
        }
        public SearchOptions(string searchBase, SearchScope scope)
        {
            SearchRoot = searchBase;
            Scope = scope;
        }
        /// <summary>
        /// Gets or Sets the DN of the search root.
        /// </summary>
        public string SearchRoot { get; set; }
        /// <summary>
        /// Gets or sets the SearchScope for the search.
        /// </summary>
        public SearchScope Scope { get; set; }
        ///// <summary>
        ///// Gets or sets an additional filter to use on this search request.
        ///// </summary>
        //string Filter { get; set; }


    }
}
